package org.jsola.hr.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
import org.jsola.core.vo.BaseVO;
import org.jsola.hr.vo.EmpSocItemListVO;

import javax.validation.Valid;
import java.math.BigDecimal;
import java.util.List;

import static org.jsola.hr.example.EmpSocInfoExample.*;

@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "修改参保基数传值")
@Data
public class EmpSocItemListBatchDTO extends BaseVO {

    private static final long serialVersionUID = -5793835375851477190L;

    @Valid
    private List<EmpSocItemListVO> empSocItemListVOList;

    @ApiParam(value = N_EMP_SOC_ID, example = E_EMP_SOC_ID)
    @Length(max = 32)
    private String id;

    @ApiParam(value = N_PROG_ID, example = E_PROG_ID)
    @Length(max = 32)
    private String progId;

    @ApiParam(value = N_YEAR, example = E_YEAR)
    @Length(max = 32)
    private String year;

    @ApiParam(value = N_MONTH, example = E_MONTH)
    @Length(max = 32)
    private String month;

    @ApiModelProperty(notes = N_ONLY_SOC_AMOUNT, example = E_ONLY_SOC_AMOUNT)
    private Boolean onlySocAmount;

    @ApiModelProperty(notes = N_PAY_PROVIDENT_FUND, example = E_PAY_PROVIDENT_FUND)
    private Boolean payProvidentFund;

    @ApiModelProperty(notes = "服务费")
    private BigDecimal serviceCost;
}
